package com.hccl.service.classifier;

/**
 * Created by yang on 2018/7/26.
 */
public class ClassifierResult {
    private String target;
    private String action;
    private String type;
    private double score=0.0;
    //private double score;
    public ClassifierResult(){}
    public ClassifierResult(long action,long target){
        this.target = String.valueOf(target);
        this.action = String.valueOf(action);
    }
    public ClassifierResult(long type,long action,long target){
        this.target = String.valueOf(target);
        this.action = String.valueOf(action);
        this.type = String.valueOf(type);
    }
    public double getScore() { return score;}
    public String getTarget() {return target; }
    public void setTarget(String target) {
        this.target = target;
    }

    public String getAction() {return action; }
    public void setAction(String action) {
        this.action = action;
    }

    public String getType() {return type; }
    public void setType(String type) {
        this.type = type;
    }

}
/*
public class ClassifierResult {
    private String target;
    private String action;
    private String type;
    private double score;

    public String getTarget() {return target; }

    public double getScore() { return score;}
    public void setScore(double score) {this.score = score;}
    public void setTarget(String target) {this.target = target;}

    public String getAction() {return action; }

    public void setAction(String action) {this.action = action;}
    public String getType() {return type; }

    public void setType(String type) {this.type = type;}
    //public void setScore(double score) {
        //this.score = score;
    //}
}
*/
